package com.lxf.service.impl;

import com.lxf.mapper.UsersMapper;
import com.lxf.pojo.Users;
import com.lxf.service.UsersService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @author lxf
 * @version v1.0
 * @date 2019/5/25 20:37
 */
@Service
public class UsersServiceImpl implements UsersService {

    @Autowired
    private UsersMapper usersMapper;
    public Users getUsers() {
        Users users = new Users();
        users.setUserId(1);
        return usersMapper.selectByUsers(users);
    }

    public int insert(Users users) {
        return 0;
    }
}
